package com.mediocre.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(description = "博客园查询到的随笔数据传输子对象，包含于PostQueryDTO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostQuerySubDTO {
    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("URL")
    private String url;
    @ApiModelProperty("是否发布")
    private Boolean isPublished;
    @ApiModelProperty("isDraft")
    private Boolean isDraft;
    @ApiModelProperty("反馈数")
    private Long feedBackCount;
    @ApiModelProperty("webCount")
    private Long webCount;
    @ApiModelProperty("aggCount")
    private Long aggCount;
    @ApiModelProperty("页面点击数")
    private Long viewCount;
    @ApiModelProperty("发布时间")
    private String datePublished;
    @ApiModelProperty("entryName")
    private String entryName;
    @ApiModelProperty("POST类型：1 随笔；2 文章；3 日记")
    private Byte postType;
    @ApiModelProperty("postConfig")
    private Long postConfig;
    @ApiModelProperty("更新时间")
    private String dateUpdated;
    @ApiModelProperty("访问权限：0 公开；8 仅登录用户；268435456 只有我")
    private Integer accessPermission;
    @ApiModelProperty("isInSiteHome")
    private Boolean isInSiteHome;
    @ApiModelProperty("isInSiteCandidate")
    private Boolean isInSiteCandidate;
}
